package com.wangshuile.vue.commons.bean;

import java.util.List;

public class PageResult<T> {
	
    private long total;//总记录数
	
	private List<T> rows;//当前页记录数
	
	private Integer pageNo;//当前页数
	
	private Integer pageSize;//页面大小
	
    public PageResult() {
    	
    }
	
	public PageResult(long total, List<T> rows, Integer pageNo, Integer pageSize) {
		super();
		this.total = total;
		this.rows = rows;
		this.pageNo = pageNo;
		this.pageSize = pageSize;
	}

	public long getTotal() {
		return total;
	}

	public void setTotal(long total) {
		this.total = total;
	}

	public List<T> getRows() {
		return rows;
	}

	public void setRows(List<T> rows) {
		this.rows = rows;
	}

	public Integer getPageNo() {
		return pageNo;
	}

	public void setPageNo(Integer pageNo) {
		this.pageNo = pageNo;
	}

	public Integer getPageSize() {
		return pageSize;
	}

	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}
	
	
}
